<%@ page import = "java.util.*, org.rescue.search.Dataset, org.rescue.search.Document, org.rescue.search.DatasetListing" %>

<jsp:include page="header.jsp">
	<jsp:param name="activetoolbar" value="collections" />
</jsp:include>
                


    

    <form name="form1" method="post" action="ConfigureManage.do" id="form1">

    	<div id="toolbar">
   		    		
    		<p />
    		You have the following collections saved:<p />
    				
    	
			<select name="dataset"  size="10">
				<%
						
				
					if(request.getAttribute("listing") != null) {
						ArrayList<DatasetListing> listing = (ArrayList<DatasetListing>)request.getAttribute("listing");
						
						for (DatasetListing dl : listing) {	
							out.print(" <option value='" + dl.getId() + "' >" + dl.getQuery() + "</option> \n");
						}	
					}
				%>	
			</select>


 			<br />   		<br /> 
    		
			<button name="action" value="open" type="submit"><img border="0" src="images/icon-open.gif" alt="Open" /></button>
    		<button name="action" value="del" type="submit"><img border="0" src="images/icon-del.png" alt="Delete" /></button>
			
			

	    </div>
    
	</form>
    

	
        
<jsp:include page="footer.jsp" />
